<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

  <style>
    #t1{
      weight: 100px;
      height: 30px;
      background-color: green;
        text-align: center;
      color: red;
        /* 行高 */
        line-height: 30px;

    }

    span{
        font-size: 20px;
        font-style: italic;
    }
    #t2{
        font-weight: normal;
        text-shadow: blue -10px 10px 3px;
    }
    #t3{
        text-decoration: underline;
    }
    a{
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
    }

  </style>
</head>
<body>

<div id="t1">刘德华</div>
<div>张学友</div>
<span>香蕉</span>
<span>苹果</span>
<h1 id="t2">冰箱</h1>
<h1 id="t3">洗衣机</h1>
<a href="http://baidu.com">百度</a>
</body>
</html>